#include "spriteactionaddanimation.h"
#include "spriteeditor.h"

const char * SpriteActionAddAnimation::NAME = "AddAnimation";
const char * SpriteActionAddAnimation::getName(){return NAME;}

void SpriteActionAddAnimation::execute()
{
	SpriteEditor* edit = (SpriteEditor*)getContext();
	edit->getAnimationViewer()->addAnimation();
}